﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Data;

namespace MulticastTV
{
    class ExportNames
    {
        static public void Start(string file)
        {
            StreamWriter sw = File.CreateText(file);

            foreach (DataRow dr in ChannelTable.menu.Tables["Menu"].Rows)
            {
                string name = dr[2].ToString();
                sw.WriteLine(name+"=");
            }
            sw.Close();
        }
    }
}
